#!/bin/sh

# 定义文件名
FILENAME="current_time.txt"

# 获取当前时间
CURRENT_TIME=$(date +"%Y-%m-%d %H:%M:%S")

# 将当前时间写入文件
echo "Current Time: $CURRENT_TIME" > $FILENAME

# 打印提示信息
echo "File '$FILENAME' created with the current time."
